package com.model;

import lombok.Data;

import java.io.Serializable;

/**
 */
@Data
public class AppSystem implements Serializable {
    private String id;
    private String appCode;
    private String appName;
    private String callBackUrl;
    private String informUrl;
    private String remark;
    private Integer status;
    private String ftpAddress;
    private String directory;
    private String usersName;
    private String usersPassword;
    private String secretKey;
    private String iv;
    private Integer isUsc;
    private Integer isSettle;
    private String syscodeAndSysName;//业务编号和名称
    private String bustypeName;//业务类型名称
    private String bustypeCode;
    public String getSyscodeAndSysName() {
        if(appCode != null && appName != null){
            return syscodeAndSysName = appCode+"/"+appName;
        }
        return null;
    }
}
